package com.tencent.txcc.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.tencent.txcc.domain.RecommendCode;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author director
 * @since 2022-10-04
 */

@Component
public interface RecommendCodeMapper extends BaseMapper<RecommendCode> {

    Long findUserIdByCode(String code);

    String getCodeByUserId(Long user_id);
}
